<?php

namespace app\health\model;

use think\Model;
use think\model\relation\BelongsTo;

/**
 * 会员渠道记录
 * @Author 张旭鹏
 * @DateTime 2023-06-14
 */
class HealthUserChannel extends Model
{
    protected $name = 'health_user_channel';

    public function popularize(): BelongsTo
    {
        return $this->belongsTo(HealthPopularize::class, 'channel_id', 'id');
    }
}
